package com.system.connect.springboot_flowers.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@TableName("orders")
public class Orders {
    
    @TableId
    private String orderId;
    
    private Integer status; // 0：未支付，1：已支付，2：已取消
    
    private LocalDateTime createTime;
    
    private LocalDateTime payTime;
    
    private BigDecimal payAmount;
    
    private String payType;
    
    private String tradeNo; // 支付宝交易号
    
    private String userId;
    
    private BigDecimal totalAmount;
    
    private String remark;
} 